/*
 * @Author: your name
 * @Date: 2021-12-17 22:07:16
 * @LastEditTime: 2021-12-18 11:21:17
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \项目所在\before\src\router\index.js
 */
import React from 'react'
import routes from './router.config'
import { BrowserRouter } from 'react-router-dom'
import RouterView from './RouterView'
const Root = () => {
  return (
    <BrowserRouter>
      <RouterView routes={routes}></RouterView>
    </BrowserRouter>
  )
}

export default Root